Package-level declarations

YAML exceptions.

Types

Link copied to clipboard
class ComposerException @JvmOverloads constructor(val problem: String, val problemMark: Mark?, val context: String = "", val contextMark: Mark? = null) : MarkedYamlEngineException

General exception during composition step

Link copied to clipboard
open class ConstructorException @JvmOverloads constructor(val context: String?, val contextMark: Mark?, val problem: String, val problemMark: Mark?, cause: Throwable? = null) : MarkedYamlEngineException

General exception during construction step

Link copied to clipboard
class DuplicateKeyException(val contextMark: Mark?, key: Any, val problemMark: Mark?) : ConstructorException

Indicate duplicate keys in the same mapping during parsing

Link copied to clipboard

General exception for during emitting

Link copied to clipboard
class Mark(val name: String, val index: Int, val line: Int, val column: Int, val buffer: IntArray, val pointer: Int)

Location of a problem in the YAML document. Its only use is producing nice error messages. Parser does not use it for any other purposes.

Link copied to clipboard

Parsing exception when the marks are available

Link copied to clipboard

Indicate missing mandatory environment variable in the template

Link copied to clipboard
class ParserException @JvmOverloads constructor(val problem: String, val contextMark: Mark?, val context: String? = null, val problemMark: Mark? = null, cause: Throwable? = null) : MarkedYamlEngineException

Exception thrown by the Parser implementations in case of malformed input.

Link copied to clipboard
class ReaderException(val name: String, val position: Int, val codePoint: Int, message: String) : YamlEngineException

Indicate invalid input stream

Link copied to clipboard

A problem during object representation

Link copied to clipboard
class ScannerException @JvmOverloads constructor(val problem: String, val problemMark: Mark?, val context: String? = null, val contextMark: Mark? = null, cause: Throwable? = null) : MarkedYamlEngineException

Exception thrown by the Scanner implementations in case of malformed input.

Link copied to clipboard

General exception to serve as the root

Link copied to clipboard

Indication of invalid YAML version